//
//  DvdGrid.m
//  Rainbow
//
//  Created by Alex on 27/07/09.
//  Copyright 2009 Erasmus Software. All rights reserved.
//

#import "DvdGrid.h"


@implementation DvdGrid

- (void) awakeFromNib
{
}


- (void) mouseDown:(NSEvent *)event
{
	[super mouseDown:event];
	if ([self indexOfItemAtPoint:[event locationInWindow]] != NSNotFound)
		[[NSNotificationCenter defaultCenter] postNotificationName:kGridSelectionDidChange object:nil];
	else
		[[NSNotificationCenter defaultCenter] postNotificationName:kNoSelection object:nil];
}

- (void) dealloc
{
	[super dealloc];
}
@end
